<template>
  <div style="background: #f6f6f6" class="pb-10rem">
    <div class="text-center">
      <header>
        <div class="set">
          <div></div>
          <div>
            <router-link to="/address/list">
              <van-icon
                name="setting-o"
                color="#fff"
                size="4.4rem"
              />
            </router-link>
            <van-icon
              name="chat-o"
              color="#fff"
              size="4.4rem"
            />
          </div>
        </div>
        <div class="user">
          <img src="https://img.wzj.com/h5-static/img/user_default_logo.png?x-oss-process=image/resize,m_lfit,h_400,w_400" alt="" />
          <span>张三丰</span>
        </div>
        <ul class="user-tab">
          <li>
            <h5>3</h5>
            <p>足迹</p>
          </li>
          <li>
            <h5>10</h5>
            <p>收藏</p>
          </li>

          <li>
            <h5>0</h5>
            <p>礼券</p>
          </li>
        </ul>
      </header>
      <div class="order">
        <div class="comment">
          <div class="title">
            <h3>我的订单</h3>
            <van-icon name="arrow" color="#222121" size="3rem" />
          </div>
          <ul>
            <li>
              <i class="iconfont">&#xe643;</i>
              <p>待付款</p>
            </li>
            <li>
              <i class="iconfont">&#xe61a;</i>
              <p>待收货</p>
            </li>
            <li>
              <i class="iconfont">&#xe62a;</i>
              <p>待评价</p>
            </li>
            <li>
              <van-icon
                name="gold-coin"
                size="23"
                color="#b98769"
                class="mt-6 mb-6"
              />
              <!-- <i class="iconfont">&#xe6bb;</i> -->
              <p>售后</p>
            </li>
          </ul>
        </div>
      </div>
      <div class="msg">
        <div class="comment">
          <div class="title">
            <h3>我的消息</h3>
            <van-icon name="arrow" color="#222121" size="3rem" />
          </div>
          <ul>
            <li>
              <i class="iconfont">&#xe613;</i>
              <p>在线客服</p>
            </li>
            <li>
              <i class="iconfont">&#xe704;</i>
              <p>订单消息</p>
            </li>
          </ul>
        </div>
      </div>
      <div class="aboutUs">
        <div class="comment">
          <ul>
            <li>
              <i class="iconfont">&#xe649;</i>
              <p>关于我们</p>
            </li>
            <li>
              <i class="iconfont">&#xe633;</i>
              <p>帮助</p>
            </li>
            <li>
              <i class="iconfont">&#xe634;</i>
              <p>知识百科</p>
            </li>
            <li @click="share">
              <i class="iconfont">&#xe7a5;</i>
              <p>分享</p>
            </li>
          </ul>
        </div>
      </div>
    </div>
  
  </div>
</template>

<script setup>

</script>

<style lang="less" scoped>
header {
  width: 100%;
  height: 40rem;
  background-image: url(https://img.wzj.com/h5-static/img/h5/bg_user_center.png?x-oss-process=style/w800-webp);
  background-size: 100% 100%;
  padding-top: 3rem;
  color: #fff;
  margin-bottom: 2rem;
  .set {
    display: flex;
    justify-content: space-between;
    .van-icon {
      margin-right: 3rem;
    }
  }
  .user {
    display: flex;
    align-items: center;
    margin: 3rem;
    img {
      width: 11rem;
      border-radius: 50%;
    }
    span {
      font-size: 4rem;
      margin-left: 3rem;
    }
  }
  ul {
    display: flex;
    justify-content: space-between;
    margin-top: 5.5rem;
    padding:0 4rem;
    li {
      // width: 19rem;
      h5 {
        font-size: 4.6rem;
        font-family: DINAlternate-Bold;
        font-weight: bold;
      }
      p {
        font-size: 2.4rem;
      }
    }
  }
}
.order {
  background: #fff;
  padding: 4rem 0rem;
  margin-bottom: 2rem;
}
.msg {
  background: #fff;
  padding: 4rem 0rem;
  margin-bottom: 2rem;
  ul {
    li {
      display: flex;
      flex-direction: row;
      align-items: center;
      p {
        margin-left: 2.5rem;
      }
    }
  }
}
.aboutUs {
  background: #fff;
  padding: 4rem 0rem;
  margin-bottom: 2rem;
}
.title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  padding: 0 4rem;

  h3 {
    font-size: 3.6rem;
    color: #222121;
  }
  .van-icon {
    font-weight: lighter;
  }
}

.comment {
  ul {
    display: flex;
    justify-content: space-around;
    li {
      .iconfont {
        color: #b98769;
        font-size: 5rem;
      }
      p {
        font-size: 2.4rem;
        margin-top: 0.5rem;
      }
    }
  }
}

//猜你喜欢
.maybeLike {
  background: #fff;
  padding-top: 4rem;
  h3 {
    font-size: 3.6rem;
    color: #222121;
  }
}

// 商品列表
.goods {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.van-dropdown-menu__item {
  border: none;
  background-color: #fff;
}
</style>